const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.userInfo.staffPhoto,
  name: state => state.user.userInfo.username,
  userId: state => state.user.userInfo.userId
}
export default getters
// const getters = {
//   sidebar(state) {
//     return state.app.sidebar
//   },
//   device(state) {
//     return state.app.device
//   },
//   token(state) {
//     return state.user.token
//   },
//   avatar(state) {
//     return state.user.avatar
//   },
//   name(state) {
//     return state.user.nam
//   }
// }
// export default getters
